package com.shop.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * 外卖商品信息表(TakeoutGoods)实体类
 *
 * @author makejava
 * @since 2023-03-15 22:34:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder(toBuilder = true)
@TableName("takeout_goods")
public class TakeoutGoods implements Serializable {
    private static final long serialVersionUID = 526787263005178199L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 商品名称
     */
    private String name;
    /**
     * 商品价格
     */
    private Double price;
    /**
     * 秒杀标记 0->普通商品 1->秒杀商品
     */
    private Integer seckill;
    /**
     * 秒杀价格
     */
    private Double priceSeckil;
    /**
     * 商品图片
     */
    private String images;
    /**
     * 商品库存
     */
    private Integer inStocks;
    /**
     * 销量
     */
    private Integer salesVolume;
    /**
     * 月销量
     */
    private Integer salesMonthVolume;
    /**
     * 描述
     */
    private String description;
    /**
     * 商户名称
     */
    private String merchantName;
    /**
     * 商户id
     */
    private Integer merchantId;
    /**
     * 数据入库时间
     */
    private Date insertTime;
    /**
     * 数据最后一次更新时间
     */
    private Date updateTime;
    /**
     * 删除时间
     */
    private Date deleteTime;
    /**
     * 是否已删除
     */
    private Integer beenDeleted;
    /**
     * 分类id
     */
    private Long categoryId;
    /**
     * 分类名称
     */
    private String categoryName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getSeckill() {
        return seckill;
    }

    public void setSeckill(Integer seckill) {
        this.seckill = seckill;
    }

    public Double getPriceSeckil() {
        return priceSeckil;
    }

    public void setPriceSeckil(Double priceSeckil) {
        this.priceSeckil = priceSeckil;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public Integer getInStocks() {
        return inStocks;
    }

    public void setInStocks(Integer inStocks) {
        this.inStocks = inStocks;
    }

    public Integer getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(Integer salesVolume) {
        this.salesVolume = salesVolume;
    }

    public Integer getSalesMonthVolume() {
        return salesMonthVolume;
    }

    public void setSalesMonthVolume(Integer salesMonthVolume) {
        this.salesMonthVolume = salesMonthVolume;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getBeenDeleted() {
        return beenDeleted;
    }

    public void setBeenDeleted(Integer beenDeleted) {
        this.beenDeleted = beenDeleted;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

}

